package com.cskaoyan.mapper;

import com.cskaoyan.bean.System;
import com.cskaoyan.bean.SystemExample;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SystemMapper {

    List<Map> selectMallConfig(@Param("condition") String condition);

    void updateConfigMall(String key_value, Date update_time, String key_name);

    void updateConfigExpress(String key_value, Date update_time, String key_name);

    void updateConfigOrder(String key_value, Date update_time, String key_name);

    void updateConfigWX(String key_value, Date update_time, String key_name);

    long countByExample(SystemExample example);

    int deleteByExample(SystemExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(System record);

    int insertSelective(System record);

    List<System> selectByExample(SystemExample example);

    System selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") System record, @Param("example") SystemExample example);

    int updateByExample(@Param("record") System record, @Param("example") SystemExample example);

    int updateByPrimaryKeySelective(System record);

    int updateByPrimaryKey(System record);

    int updateBatchSelective(List<System> list);

}